console.log(import.meta.env)

const getBaseURL = () => {
 if (import.meta.env.PROD) {
    return location.protocol
  }
  return 'http://127.0.0.1:8080'
}
const getBaseHost = () => {
  if (import.meta.env.PROD) {
    return location.host
  }
  return '127.0.0.1:8080'
}
export {
  getBaseURL,
  getBaseHost
}